package com.realgodo.site.entity.application.mood;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.realgodo.site.entity.application.Application;

/**
 * 纠结应用
 * @author ljw E-mail: ssdutljw@163.com
 * @version 创建时间：2009-12-13
 */
@Entity(name="Mood")
@Table(name = "mood")
@Inheritance(strategy = InheritanceType.JOINED)
@PrimaryKeyJoinColumn(name = "id", referencedColumnName = "id")
public class Mood extends Application implements Serializable{

	/***/
	private static final long serialVersionUID = -713394755526189102L;
	/**内容*/
	private String content;
	/**发布时间*/
	private Date pubTime;
	/**更新时间*/
	private Date updateTime;
	
	public String getContent() {
		return content;
	}
	
	
	public void setContent(String content) {
		this.content = content;
	}

	@Column
	@Temporal(TemporalType.TIMESTAMP)
	public Date getPubTime() {
		return pubTime;
	}

	public void setPubTime(Date pubTime) {
		this.pubTime = pubTime;
	}

	@Column
	@Temporal(TemporalType.TIMESTAMP)
	public Date getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	
	

}
